home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
logbatch
/
batchm.exe
/
BATCHM.DOC
< prev
next >
Wrap
Text File
|
1992-11-27
|
7KB
|
183 lines
******************* (c) Copyright 1992 by NORDAT GmbH **********************
┌────────┐
BATCHM.EXE │ ▀ ▀ ▀ ▀ ▀ ▀ ▀ ▀
│ │
NORDAT BATCH MACHINE V1.2 │ │
└────────┘
Nordat GmbH N O R D A T
Oststr. 11
D-2000 Norderstedt
Phone 49-40-526834-0
Fax 49-40-526834-22
THIS PRODUCT IS NOT FREE. IT IS OFFERED ON A SHAREWARE BASIS.
IF YOU WANT TO USE IT AFTER EVALUATION, YOU MUST REGISTER IT.
REVISION HISTORY
02 Nov 1992 16:00:00 Dietmar Schlötel wrote and released 1.00 REV 00.
20 Nov 1992 10:00:00 Dietmar Schlötel wrote and released 1.10 REV 00.
Use different keyboard push routines, defined in .INI file
26 Nov 1992 16:55:00 Dietmar Schlötel wrote and released 1.20 REV 00.
Make delay cycle variable, defined by .INI file
Make Netware public path variable
Description
The NORDAT Batch Machine is designed for Users, especially programmers,
who work on a NOVELL network and often have to work off batches, i.g.
compiling of several modules. If you do this without a Task Switching
System (Windows or Desqview), which will by the way lower your performance,
your workstation is blocked as long as your batch is served.
Why not let a specific batch machine do this job ?
This can be a powerful station with huge memory, fast processor etc.
and your workstation has not necessarily to be so powerful ( Does editing
really need a 486-66 ? :-) .
Programmers who come from the mainframe world will be smiling now,
cause they know the concepts !
The Batch machine works in a network on a separate dedicated Batch server.
The concept is: The Batch machine has a directory within the network,
where it looks for orders.
An order consists of several informations:
1. the userid, who places the order
2. the userid, under which this order will be processed
3. the users password, under which this order will be processed
4. the service which is to be done; this must be any batch file
5. the name of a logfile, where the batch processing will be logged
The batch machine has its own userid for looking for orders.
After finding an order, it changes its user id, and so its rights and
equals to the desired user id. The batch machine serves the order and
saves the output to a log file. After processing a "done" message
will be returned to the user, who desired the processing.
The user must assure, that all pathes and environment variables are
correctly set, which are used. It can be guaranteed by doing this
in the login script. An alternative is to include it in the batch file
which is to process.
Requirements:
This program is tested with DOS 5.0, 4DOS 4.0 and Netware 3.11 .
But it will surely work with other DOS- or Netware- Versions.
Future enhancements:
This version finds it's orders in the order of DOS-FINDFIRST-cmd.
The found order is processed in the same moment it is found.
It is planned to support timed orders and to supply a Batch Submit
Program, which will make it even more easier to place an order.
The submit program is necessary for encrypting the passwords in
the order for security causes. Furthermore this program will support
order processing with FIFO (first in - first out) method.
Files:
BATCHM.EXE The Batch Machine
BATCHP.EXE The Batch Machine's Keyboard Push Routine
BATCHM.INI It's init script
BATCHM.ORX A sample script for an order
BATCHM.DOC This document
BATCHM.DOK This document in German
BATCHM.REG Registration
BATCHM.BBS BBS short description
BATCHM.CIS CIS short description
BATCHM.MBX MBX short description german
/*-------------------------------------------------------------------*/
/* Sample Init Script: */
/*-------------------------------------------------------------------*/
; Do not change these Entries, they are system intern
[NCAPS Generics]
CapsSys = f:\batch\ncaps.sys
FileLockWait = 100
Windows = No
; Batch Machine program's init script section follows :
[Batch Machine]
;
; Username of Batch Machine
User = batch
;
; Path where Orders (*.ord) are expected
FilePath = f:\batch
;
; Switch if a Send "Processing done" is requirede
Reply = On
;
; Set Cycle for waiting after no order is found !
Cycle = 10
;
; Set the Command line for keyboard push program.
; The method of key pushing is necessary to pass the password
; to network login process.
; The following line is designed for using 4DOS (with "kstack" loaded).
;Push = "keystack \"%s\" 13 \0xd"
; There are several other utilities pushing key sequences into the keyboard
; buffer. Place your favorite key pushing command here and
; apply it's syntax.
; For your convenience we supply the Batch Machine with BATCHP.EXE
Push = "BATCHP %s\0xd"
; Note: This string must be put in quotes !!! The internal quotes (if needed by
; your key pusher ) have to be escaped by a backslash !!!!
; Close the string with \0xd !!
;
; Set the Path to Netware Public Programs (as SEND, LOGOUT etc.)
Public = F:\public
;
;
<End of File>
/*-------------------------------------------------------------------*/
/* Sample Order File */
/*-------------------------------------------------------------------*/
; Adress the Batch Machine
[Batch Machine]
; User which placed the order and expects a reply
SourceUser = ds
; User Id, which shall process the Batch file
WorkUser = Compiler
; Password of work user
Password = kuckuck
; Batch file (.bat) which shall be processed
BatchName = f:\ds\compall
; File where the log shall be produced ( by DOS Piping)
LogFile = f:\ds\compall.log
;
<End of File>
/*-------------------------------------------------------------------*/
/* Installation Hints */
/*-------------------------------------------------------------------*/
1. Create a Netware User for Batch Machine ( i.g. BATCH)
Give User a Home Directory , which can serve as order directory
2. Grant Rights in Batch Home Directory to every group (or user),
which can use the Batch machine. (i.g. group EVERYONE)
3. Place BATCHM.EXE and BATCHM.INI in the Netware Public directory
or in another directory the BATCH user has access to (i.g.BATCH)
4. Login a workstation as user BATCH and start BATCHM.
( This can be done automatically in your autoexec.bat )
5. Users can now place orders, which can be built easily with any
Text Editor and then copied to the Batch Machine's "FilePath".
(Sample Order: BATCHM.ORX)
Orders must have the extension .ORD !
6. Remember to register after evaluation !